﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using uTorrentNetClient.ModelDesign.OptionalConverter;

namespace uTorrentNetClient.ModelDesign.Helper
{
    public class SettingsHelper : Base
    {
        public SettingsHelper()
        {
            Converter = ConverterType.Kein;
            Position = 0;
        }

        public string Key { get; set; }
        public string Name { get; set; }

        private object _value;
        public object Value 
        {
            get { return _value; }
            set
            {
                setHasChanges(_value, value);
                _value = value;
                SetNotifyPropertyChanged("Value");
            }
        }

        public SettingsValueType ValueType { get; set; }
        public int Position { get; set; }
        public ConverterType Converter { get; set; }
    }
}
